package com.k8sops.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.k8sops.backend.model.entity.DOSModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @ClassName DOSProjectVersion
 * @Description TODO
 * @Author hepingguo
 * @Date 2022/6/17 09:36
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper=false)
@TableName("dos_project_version")
public class DOSProjectVersion extends DOSModel {

    // 不指定主键列名，让MyBatis-Plus自动匹配

    /**
     * 版本号
     **/
    private String versionNumber;
    /**
     * 更新日志
     **/
    private String updateLog;
    /**
     * 环境类型，多个环境类型用逗号隔开
     **/
    private String envTypes;
    /**
     * 项目id
     **/
    private Integer projectId;
    @TableField(exist = false)
    private String outTrackId;
}
